//
//  HomeGloabeModel.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/7/22.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class HomeGloabeModel: NSObject {
//    special_desc
    static var golableModel : HomeGloabeModel!

    var message_url = " "
    var agreement_url = " "
    var help_url = " "
    var code = " "
    var find_pwd_url = " "
    var sign_url = " "
    var aboutus_url = " "
    var tag = " "
    var msg = " "
    var unread_message = " "
    var app_build : String?
    var ios_tag = "0"

    
    init(dic : [String : AnyObject]) {
        super.init()
        
        setValuesForKeys(dic)
        
    }
    
    
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
        
    }
    
    
    //在swift中想要打印对象要以下重写属性
    override var description: String{
        let keys = ["message_url","agreement_url","help_url","code","find_pwd_url","sign_url","aboutus_url","tag","ios_tag","msg","unread_message"]
        let dic = dictionaryWithValues(forKeys: keys)
        return "\(dic)"
    }
    

}
